package DaEr1_1;

public class LianXi2 {
    public static void main(String[] args) {
        int a,b,c;
        a=7;b=29;
        System.out.println("a,b交换之前的值：");
        System.out.println("a = " + a);
        System.out.println("b = " + b);
        c=a;a=b;b=c;
        System.out.println("a,b交换之后的值：");
        System.out.println("a = " + a);
        System.out.println("b = " + b);
    }
}
